package com.wanxi.dangdang.config;

import com.wanxi.dangdang.model.pojo.Role;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: WangRui
 * @Description:
 * @Date: Created in 2021/9/11 0011
 * @Version: 1.0
 */
@Configuration
public class RoleConfig {

    @Bean
    public Role role(){
        Role role = new Role();
        role.setName("未分配角色");
        return role;
    }

}
